package com.chenjiagou.bookingdemo;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration;

@SpringBootApplication(exclude = {
        DataSourceAutoConfiguration.class, // 如果需要排除默认数据源配置
        HibernateJpaAutoConfiguration.class // 排除JPA自动配置
})
@MapperScan("com.chenjiagou.bookingdemo.mapper")
public class BookingdemoApplication {
    public static void main(String[] args) {
        SpringApplication.run(BookingdemoApplication.class, args);
    }
}